package com.killer.pojo;

/**
 * bean对象对应的字段属性
 */
public class PropertyValue {

    /**
     * 字段名称
     */
    private String name;

    /**
     * 字段对应的值
     */
    private Object value;

    /**
     * 该字段对应的值是指向另外一个对象的时候，保存另外对象的id
     */
    private String ref;

    public PropertyValue(String name, Object value, String ref) {
        this.name = name;
        this.value = value;
        this.ref = ref;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public String getRef() {
        return ref;
    }

    public void setRef(String ref) {
        this.ref = ref;
    }
}
